package com.cyl.XmlDemo.entity;


/**
 * 服务器统一返回结果格式
 * @author tyuio
 *
 */
public class DataResult {
	
/*	private DataResult(){
	}
	
	public static DataResult getInstance(){
		return new DataResult();
	}*/

	//状态码
	private String code;
	
	//结果信息
	private String msg;
	
	//数据
	private Object data;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
}
